package com.hui.auth.entity;

import java.io.Serializable;

/**
 * 权限
 * Created by LiaoYunHui on 2017/9/23/023.
 */
public class AuthPermission implements Entity, Serializable {
    @Ignore
    private static final long serialVersionUID = -5809782578272943992L;

    @Ignore
    private long id;
    private String url;
    private String name;
    private long mid;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getMid() {
        return mid;
    }

    public void setMid(long mid) {
        this.mid = mid;
    }

    @Override
    public String toString() {
        return "AuthPermission{" +
                "id=" + id +
                ", url='" + url + '\'' +
                ", name='" + name + '\'' +
                ", mid=" + mid +
                '}';
    }

    @Override
    public String table() {
        return "auth_permission";
    }
}
